package model;

import java.util.ArrayList;
import java.util.Date;

public class User {


    private ArrayList<Info> earn;
    private ArrayList<Info> consume;
    public User(){
        earn = new ArrayList<>();
        consume = new ArrayList<>();
    }
    public void addEarnInfo(Info info){
        earn.add(info);
    }
    public void addConsumeInfo(Info info){
        consume.add(info);
    }
    public ArrayList<Info> getEarn() {
        return earn;
    }

    public ArrayList<Info> getConsume() {
        return consume;
    }
}
